<!DOCTYPE html>
<html>
<include file="public@head"/>
<body onload="load()">
<div id='loading' style='Z-INDEX: 12000; LEFT: 0px; WIDTH: 100%; CURSOR: wait; POSITION: absolute; TOP: 0px; HEIGHT: 100%'>
    <table width='100%' height='100%' id="Table1">
        <tr align='center' valign='middle'>
            <td >
                <table  id="Table2" class="loading">
                    <tr>
                        <td style="text-align: center">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td style="text-align: center">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td style="text-align: center">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td style="text-align: center">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td style="text-align: center">
                            感谢您的使用</td>
                    </tr>
                    <tr align='center' valign='middle'>
                        <td>正在加载页面，请等待...</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>
<include file="public@nav"/>

<div class="container" id="data-index">
    <div class="row">
        <div id="slide">
            <div class="hd">
                <ul>
                    <li class="on"></li>
                </ul>
            </div>
            <a href="{:cmf_url('portal/index/test')}"><h1>测试点击</h1></a>
            <div class="bd">
                <div class="tempWrap" style="overflow:hidden; position:relative;">
                    <ul style="width: 3840px; position: relative; overflow: hidden; padding: 0px; margin: 0px; transition-duration: 200ms; transform: translateX(-768px);">
                        <volist name="slide" id="v">
                            <li style="display: table-cell; vertical-align: top; width: 768px;">
                                <a href="" target="_blank">
                                    <img src="/upload/{$v.image}">
                                </a>
                            </li>
                        </volist>
                    </ul>
                </div>
            </div>
        </div>
    </div>

    <script charset="utf-8" src="__TMPL__/public/assets/js/TouchSlide.js"></script>

    <script type="text/javascript">
        function load(){
            $("#loading").fadeOut("slow");
            layer.open({
                content: '登录成功'
                ,skin: 'msg'
               ,anim:'loading'

            });

        }
        TouchSlide({
            slideCell:"#slide",
            titCell:".hd ul", //开启自动分页 autoPage:true ，此时设置 titCell 为导航元素包裹层
            mainCell:".bd ul",
            effect:"left",
            autoPlay:true,//自动播放
            autoPage:true, //自动分页
            switchLoad:"_src" //切换加载，真实图片路径为"_src"
        });
    </script>
    <div class="row category">
        <a href="" class="col-xs-6">
            <h4>鸡蛋状况</h4>
        </a>
        <a href="{:cmf_url('portal/index/pic')}" class="col-xs-6">
            <h4>平台数据</h4>
        </a>

    </div>

    <div class="row">
        <!--产品块-->
        <div class="tb_box">
            <h2 class="tab_tit">
                <a class="more" href="{:cmf_url('portal/list/index',array('id'=>2))}">更多</a>
                公告
            </h2>
            <volist name="notice" id="v">
                <a href="{:cmf_url('portal/article/index',array('id'=>$v.id))}">
                    <div class="hproduct clearfix" style="background:#fff;border-top:0px;">
                        <div class="p-pic">
                            <img style="max-height:100px;margin:auto;" class="img-responsive" src="/upload/{$v.more.thumbnail}">
                    </div>
                        <div class="p-info">
                            <p class="p-title"><b>{$v.post_title}</b></p>
                            <p class="content-excerpt">{$v.post_excerpt}</p>
                            <p class="p-origin" style="float: left;">{:date('Y-m-d',$v.create_time)}</p>
                            <p class="mb0" style="float: right;">浏览次数：{$v.post_hits}</p>
                        </div>
                    </div>
                </a>
            </volist>
        </div>


        <!--产品块-->
        <div class="tb_box">
            <h2 class="tab_tit">
                <a class="more" href="{:cmf_url('portal/list/index',array('id'=>3))}">更多</a>
                学堂
            </h2>
            <volist name="study " id="v">
                <a href="{:cmf_url('portal/article/index',array('id'=>$v.id))}">
                    <div class="hproduct clearfix" style="background:#fff;border-top:0px;">
                        <div class="p-pic">
                            <img style="max-height:100px;margin:auto;" class="img-responsive" src="/upload/{$v.more.thumbnail}">
                        </div>
                        <div class="p-info">
                            <p class="p-title"><b>{$v.post_title}</b></p>
                            <p class="content-excerpt">{$v.post_excerpt}</p>
                            <p class="p-origin" style="float: left;">{:date('Y-m-d',$v.create_time)}</p>
                            <p class="mb0" style="float: right;">浏览次数：{$v.post_hits}</p>
                        </div>
                    </div>
                </a>
            </volist>
        </div>
        <!--产品块-->

        <div class="tb_box">
            <h2 class="tab_tit">
                <a class="more" href="{:cmf_url('portal/list/index',array('id'=>4))}">更多</a>
                咨询
            </h2>

            <volist name="application" id="v">
                <a href="{:cmf_url('portal/article/index',array('id'=>$v.id))}">
                    <div class="hproduct clearfix" style="background:#fff;border-top:0px;">
                        <div class="p-pic">
                            <img style="max-height:100px;margin:auto;" class="img-responsive" src="/upload/{$v.more.thumbnail}">
                        </div>
                        <div class="p-info">
                            <p class="p-title"><b>{$v.post_title}</b></p>
                            <p class="content-excerpt">{$v.post_excerpt}</p>
                            <p class="p-origin" style="float: left;">{:date('Y-m-d',$v.create_time)}</p>
                            <p class="mb0" style="float: right;">浏览次数：{$v.post_hits}</p>
                        </div>
                    </div>
                </a>
            </volist>
        </div>
    </div>
</div>




<include file="public@footer"/>

</body></html>
